# 输出一个直角三角形
i = 1
while i <= 5:
    print('*' * i)
    i += 1

print()
# 选做
j = 0
while j < 5:
    print('*' * (1 + j * 2))
    j += 1
